home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
clipper
/
ks94an.zip
/
FIOCONV.HDR
< prev
next >
Wrap
Text File
|
1994-04-25
|
1KB
|
48 lines
/******************************************************************************
The Klipper Library, for CA-Clipper 5.x
Copyright (c), 1994, Wallace Information Systems Engineering
FUNCTION:
_FIO_Convert( cConvVal, cPassword ) --> cString
PARAMETERS:
cConvVal : Value to convert
cPassword : Encryption Password (Optional)
SHORT:
Decrypt a value encrypted by the _FIn() Function.
DESCRIPTION:
When _FIn() writes a database field with encryption, the _FOut() function can
retrieve it when the field is read. However, you may occasionally want to
encrypt the value without actually writting it to the field in order to
examine it first.
This is the purpose of _FIOConvert(). It will return the same encryption
string that _FIn() will create, but without writting the database field.
If cPassword is not specified, then the character data passed is returned
unchanged.
NOTE:
Note: There is no param checking done in this function.
You will cause a runtime error if you pass a non-character convert value.
_FIn() and _FOut() check parameters for character values because they are
called automatically in many cases, but YOU exercise all control of this
func.
EXAMPLE:
_FIOConvert('THIS IS A TEST','PASSWORD')
Returns: an encrypted string if password is not blank (which in this case it
isn't).
******************************************************************************/